﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using HR.ProjectX.Models;

namespace HR.ProjectX.DAL.UnitOfWork
{
    public interface IUnitOfWork
    {
        void RegisterAmended(IAggregateRoot entity);
        void RegisterNew(IAggregateRoot entity);
        void RegisterRemoved(IAggregateRoot entity);
        void Commit();
    }
}
